blob: dd6328fcfc59af0b99cbf3c9405eef3124118e3c (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
PREFIX=""; [ ${PREFIX:="${0%/*}"} = "${0}" ] && PREFIX="."; PREFIX="${PREFIX:+${PREFIX}/}..";
if [ "${#}" -eq 1 ]\
&& [ "x${1}" = "x--version" ]; then
"${PREFIX}/bin/pkgconf" --version;
else
"${PREFIX}/bin/pkgconf" --define-variable=prefix="${PREFIX%/}/" --keep-system-cflags "${@}";
fi;
|